<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a th:if="${flag=='yes'}" th:href="@{http://www.ktjiao.com/}">ktjiaoyu</a><br/>
<a th:unless="${flag=='no'}" th:href="@{http://www.czkt.com/}">czkt</a>
<div th:switch="${sex}">
    <p th:case="'woman'">他是一个姑娘...</p>
    <p th:case="'man'">这是一个爷们!</p>
    <p th:case="*">这是一个未知性别</p>
</div>
</body>
</html>